package com.zywl.web.controller.form;

import com.zywl.utils.utils.enums.ResTypeEnum;

public class ResourceForm {
    private String id;// 表主键
    private String name;// 权限名
    private String pId;// 父权限ID
    private String resType;// 权限类型
    private String resOrder;// 权限排序
    private String resPath;// 权限路径
    private String description;// 描述
    private String icon;// 权限图标，仅菜单权限拥有
    private String status;//是否启用

    private String pName;//父权限名称
    private Object resTypes;//所有权限类型

    public ResourceForm() {
        super();
        this.resTypes = ResTypeEnum.values();
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getpId() {
        return pId;
    }

    public void setpId(String pId) {
        this.pId = pId;
    }

    public String getResType() {
        return resType;
    }

    public void setResType(String resType) {
        this.resType = resType;
    }

    public String getResOrder() {
        return resOrder;
    }

    public void setResOrder(String resOrder) {
        this.resOrder = resOrder;
    }

    public String getResPath() {
        return resPath;
    }

    public void setResPath(String resPath) {
        this.resPath = resPath;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getpName() {
        return pName;
    }

    public void setpName(String pName) {
        this.pName = pName;
    }

    public Object getResTypes() {
        return resTypes;
    }

    public void setResTypes(Object resTypes) {
        this.resTypes = resTypes;
    }
}
